#include <cstdio>

using namespace std;

int main() {
    char a[10];
    double b, c;
 
    scanf("%s%lf%lf", a, &b, &c);
    printf("TOTAL = R$ %.2lf\n", b + c * 0.15);
    
    return 0;
}
